<?php
namespace Dyadmin\Model;
use Think\Model;

class LogAdminModel extends Model { 
    
	//插入操作管理记录
	public function insert_log($log_info){
		
		$add= array();
		$add['admin_id'] = session("admin_id");
		$add['admin_name'] =session("admin_name");
		$add['log_info'] = $log_info;
		$add['log_ip'] = get_client_ip(1);
		$add['add_time'] = time();
		$this->add($add);
		return true;
	}
	
	
}